package gazzera.node.core.messages;

import java.io.*;

public class BrowseSearch extends Message
{
	public String parent;

	public BrowseSearch()
	{
	}

	public BrowseSearch(String parent)
	{
		super();
		this.parent = parent;
	}

	@Override
	protected void recv(DataInputStream s) throws IOException
	{
		parent = readString(s);
		
	}

	@Override
	protected void send(DataOutputStream s) throws IOException
	{
		sendString(s, parent);
		
	}
	
	
}